import instance from './index'

export const loginApi = (username,password) => {
    return instance({
        method: 'POST',
        url: 'http://localhost:12345/api/user/login',
        data: {
            username,
            password
        }
    })
}